/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class InsuranceTypeEnum extends StringEnum
{
    public static final String SEAINSURANCE_VALUE = "2";
    public static final String CREDITINSURANCE_VALUE = "1";

    public static final InsuranceTypeEnum seaInsurance = new InsuranceTypeEnum("seaInsurance", SEAINSURANCE_VALUE);
    public static final InsuranceTypeEnum creditInsurance = new InsuranceTypeEnum("creditInsurance", CREDITINSURANCE_VALUE);

    /**
     * construct function
     * @param String insuranceTypeEnum
     */
    private InsuranceTypeEnum(String name, String insuranceTypeEnum)
    {
        super(name, insuranceTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static InsuranceTypeEnum getEnum(String insuranceTypeEnum)
    {
        return (InsuranceTypeEnum)getEnum(InsuranceTypeEnum.class, insuranceTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(InsuranceTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(InsuranceTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(InsuranceTypeEnum.class);
    }
}